<%@ page language="java" contentType="text/html; charset=UTF-8" isErrorPage="true" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="pagePath" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="${pagePath}/page/static/css/reset.css">
<link rel="stylesheet" type="text/css" href="${pagePath}/page/static/css/main.css">
<script type="text/javascript" src="${pagePath}/page/static/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="${pagePath}/page/static/js/register.js"></script>
<title>校园二手交易网-注册</title>
</head>
<body>
	<div class="register_con">
		<div class="l_con fl">
			<a href="${pagePath}/index.do" class="reg_logo"><img src="${pagePath}/page/static/images/logo.png"></a>
			<div class="reg_slogan">安全便捷 · 一流货源</div>
			<div class="reg_banner"></div>
		</div>
		<div class="r_con fr">
			<div class="reg_title clearfix">
				<h1>学生注册</h1>
				<a href="${pagePath}/login.do">登录</a>
			</div>
			<div class="reg_form clearfix">
				<form action="${pagePath}/register.do" method="post" id="reg_form">
					<ul>
						<li><label>学号:</label> <input type="text" name="username" id="username" value="${username}"><span style="float: left; height: 30px; line-height: 30px; margin-left: 70px; color: #e62e2e;">${message}</span> <span class="error_tip">提示信息</span></li>
						<li><label>密码:</label> <input type="password" name="password" id="password"> <span class="error_tip">提示信息</span></li>
						<li><label>确认密码:</label> <input type="password" name="password2" id="password2"> <span class="error_tip">提示信息</span></li>
						<li class="agreement"><input type="checkbox" name="allow" id="allow" checked="checked"> <label>同意“校园二手交易网”协议</label> <span class="error_tip2">提示信息</span></li>
						<li class="reg_sub"><input type="submit" value="注 册"></li>
					</ul>
				</form>
			</div>
		</div>
	</div>
	<div class="footer no-mp">
		<div class="foot_link">
			<a href="javascript:;">关于我们</a> <span>|</span> <a href="javascript:;">联系我们</a> <span>|</span> <a href="javascript:;">意见反馈</a> <span>|</span> <a href="${pagePath}/admin_login.do">管理平台</a>
		</div>
	</div>
</body>
</html>